﻿namespace FileManagerGlobal_Library
{
    public class GlobalVariable
    {
        public static string FileTempExtension = "_managerdata";
        public static string UpdateApplicationName = "FileManagerClient_Update.exe";
        public static string UpdateApplicationFolder = "UpdateApplication";
        public static string UnInstallApplicationName = "FileManager_UnInstall.exe";
        public static string ClientInstallZipName = "FilemanagerClient.data";

        public class ClientAppVariable
        {
            public static string ClientUpdateFileName = "UpdateFile.data";
            public static string ClientApplicationName = "FileManager_Client.PresentationLayer.exe";
            public static int DownloadBlockSize = 1024 *500;
            public static int UploadBlockSize = 1024 * 500;
            public static int DownloadNumberOfThreads = 5;
            public static int UploadNumberOfThreads = 5;

        }

        public class ClientAppRegistryInfo
        {
            public static string RegistryUnInstallName = "FilemanagerClient";
            public static string RegistryInstallName = "FileManager_Client.PresentationLayer.exe";
            public static string RegistryUnInstallKey = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";
            public static string RegistryInstallKey = @"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\";
            public static string RegistryAutoStartKey = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Run";

            public class UninstallNameCollection
            {
                public static string Ctext = "ctext";//快来打造只属于你的个人版360安全卫士
                public static string Curl = "curl";//http://my.360safe.com
                public static string DisplayIcon = "DisplayIcon";//G:\Program File\360sd\360Safe\360Safe.icon
                public static string DisplayName = "DisplayName";//360安全卫士
                public static string DisplayVersion = "DisplayVersion";//9.0.0.2001
                public static string InstallLocation = "InstallLocation";//G:\Program File\360sd\360Safe
                public static string Publisher = "Publisher";//360安全中心
                public static string UninstallString = "UninstallString";//G:\Program File\360sd\360Safe\uninst.exe
            }

            public class InstallNameCollection
            {
                public static string Default = "(Default)"; //G:\Program File\360sd\360Safe\uninst.exe
                public static string Path = "Path";//G:\Program File\360sd\360Safe
            }

            public class AutoStartNameCollection
            {
                public static string RegistryAutoStartName = "FilemanagerClient";
            }
        }
    }
}